//
//  ScreenView.h
//  XDBaseFrameWork
//
//  Created by XD-XY on 10/21/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ScreenViewDelegate <NSObject>

-(void)whileScreenViewIsHidden:(NSDictionary *)mdict isReflash:(BOOL)reflash;
- (void)chooseType:(NSString *)type data:(NSDictionary *)dict;


@end

@interface ScreenView : UIView<UICollectionViewDataSource,UICollectionViewDelegate>
{
    UICollectionView * mCollectionView;
    NSString * titleStr;
}

@property(nonatomic,assign)id<ScreenViewDelegate>delegate;

@property(nonatomic,strong)UIImageView * bgView;                 // 三角背景

@property(nonatomic,strong)NSMutableArray * dataArray;      // 数据源

@property(nonatomic,strong)UIView * backView;       // 底层背景

@property(nonatomic,strong)NSString * selectName;   //选中的条件

@property(nonatomic,assign)int selectIndex;

@property (nonatomic,copy) NSString * type;     //区分点击的是哪一列的条件

@property (nonatomic,copy) NSString * mytype;   

-(void)hiddenTheScreenView;

-(void)showTheScreenView;

@end
